# -- coding: utf-8 --


from aliyunsdkcore.client import AcsClient
from aliyunsdkcore.acs_exception.exceptions import ClientException
from aliyunsdkcore.acs_exception.exceptions import ServerException
from aliyunsdkrds.request.v20140815.DescribeDBInstanceIPArrayListRequest import DescribeDBInstanceIPArrayListRequest

client = AcsClient('Appid', 'key', 'cn-hangzhou')

request = DescribeDBInstanceIPArrayListRequest()
request.set_accept_format('json')

request.set_DBInstanceId("id")

response = client.do_action_with_exception(request)
# python2:  print(response)
gy = str(response).split('RequestId')
print(gy)